package edu.gatech.ealf.secretservantplaf;

import java.awt.Graphics;

import javax.swing.JComponent;
import javax.swing.JSplitPane;
import javax.swing.plaf.ComponentUI;
import javax.swing.plaf.SplitPaneUI;

public class SSSplitPaneUI extends SplitPaneUI {
	private static final String UI_CLASS_ID = "SplitPaneUI";
	
	public SSSplitPaneUI() {
        ;
    }

    public static ComponentUI createUI(JComponent c) {
        return new SSSplitPaneUI();
    }

    @Override
    public void installUI(JComponent c) {
        
        SecretServantLookAndFeel.getInstance().registerComponentInstallation(UI_CLASS_ID, c);
    }


    @Override
    public void uninstallUI(JComponent c) {
    	
    	SecretServantLookAndFeel.getInstance().registerComponentUninstallation(UI_CLASS_ID, c);
    }

    @Override
    public void paint(Graphics g, JComponent c) {
    }
    
    @Override
    public void update(Graphics g, JComponent c) {
    }

	@Override
	public void finishedPaintingChildren(JSplitPane jc, Graphics g) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public int getDividerLocation(JSplitPane jc) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getMaximumDividerLocation(JSplitPane jc) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getMinimumDividerLocation(JSplitPane jc) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void resetToPreferredSizes(JSplitPane jc) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void setDividerLocation(JSplitPane jc, int location) {
		// TODO Auto-generated method stub
		
	}
	
}
